﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using CRM.Entity.Extra;
using CRM.Entity.Page;
using CRM.Entity;

namespace CRM.Index.IProvider
{
    
    public partial interface IProviderService
    {
        [OperationContract]
        bool ArticleInfo_Insert(ArticleInfo articleInfo);

        [OperationContract]
        bool ArticleInfo_Update(ArticleInfo articleInfo);

        [OperationContract]
        bool ArticleInfo_Delete(ArticleInfo articleInfo);

        [OperationContract]
        ArticleInfo ArticleInfo_Single(Int64 id);
        
        [OperationContract]
        ArticleInfoPage ArticleInfo_Top(int top);

        [OperationContract]
        ArticleInfoPage ArticleInfo_Page(PageInfo info);
        
        [OperationContract]
        ArticleInfoExtraPage ArticleInfoExtra_Page(PageInfo info,int articleType);
    }
}
